Allow use of "end" keyword for terminating Octave-mode blocks.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 2 Jan 2010 19:40:59 +0000 (14:40 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 2 Jan 2010 19:40:59 +0000 (14:40 -0500)
commit4b5cf58380a4fe176b9a1a392ee1cff5079340b3
tree5e38602974ab5c1bc4d6565dc2841faf9cd0af38
parent787234a1b082ca5ea480f1968e761ee056c67d05
Allow use of "end" keyword for terminating Octave-mode blocks.

* progmodes/octave-mod.el (octave-end-keywords)
(octave-block-begin-or-end-regexp, octave-block-match-alist): Add
"end" keyword (Bug#3061).
(octave-end-as-array-index-p): New function.
(calculate-octave-indent): Use it.
lisp/ChangeLog
lisp/progmodes/octave-mod.el